//
//  YJDataModel.h
//  Product
//
//  Created by 吴志勇 on 2020/4/2.
//  Copyright © 2020 wzy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class YJModel;


typedef void(^clickBlock)(NSString * _Nullable indexStr);

NS_ASSUME_NONNULL_BEGIN

@interface YJDataViewModel : NSObject<UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) NSArray *dataModelArray;
// 点击cell回调
@property (nonatomic, strong) void(^callBlock)(YJModel *dataM);


// 请求数据
- (void)requestData:(void(^)(void))sBlock fBlock:(void(^)(void))fBlock isRefresh:(BOOL)isRefresh;

@end

NS_ASSUME_NONNULL_END
